package com.edu.dao;

import com.edu.beans.Book;
import com.edu.beans.Vip;

import java.util.List;

public interface BookDao {
    int addBook(Book book);

    List<Book> getBooksByPhone(String phone);

    int deleteBook(String id);

    Book getBookById(String id);

    int updateBook(Book book);

    List<Book> getBooksByVipId(int vipId);
}
